package com.example.pojo.entity.validate;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2020/9/22 15:09
 */
@Data
public class Demo6 {
    @Length(min = 5, max = 17, message = "length长度在[5,17]之间")
    private String extField;
}